.class public Lcom/facebook/orca/server/OutgoingMessage;
.super Ljava/lang/Object;
.source "OutgoingMessage.java"

# interfaces
.implements Landroid/os/Parcelable;


# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/os/Parcelable$Creator",
            "<",
            "Lcom/facebook/orca/server/OutgoingMessage;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field private final a:Ljava/lang/String;

.field private final b:Ljava/lang/String;

.field private final c:Lcom/facebook/orca/location/Coordinates;

.field private final d:Lcom/facebook/orca/attachments/MediaResource;

.field private final e:Z

.field private final f:Ljava/lang/String;

.field private final g:Ljava/lang/String;

.field private final h:J


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 102
    new-instance v0, Lcom/facebook/orca/server/OutgoingMessage$1;

    invoke-direct {v0}, Lcom/facebook/orca/server/OutgoingMessage$1;-><init>()V

    sput-object v0, Lcom/facebook/orca/server/OutgoingMessage;->CREATOR:Landroid/os/Parcelable$Creator;

    return-void
.end method

.method constructor <init>(Landroid/os/Parcel;)V
    .locals 2
    .parameter

    .prologue
    .line 39
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 40
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->a:Ljava/lang/String;

    .line 41
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->b:Ljava/lang/String;

    .line 42
    const-class v0, Lcom/facebook/orca/location/Coordinates;

    invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->readParcelable(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;

    move-result-object v0

    check-cast v0, Lcom/facebook/orca/location/Coordinates;

    iput-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->c:Lcom/facebook/orca/location/Coordinates;

    .line 43
    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->readParcelable(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;

    move-result-object v0

    check-cast v0, Lcom/facebook/orca/attachments/MediaResource;

    iput-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->d:Lcom/facebook/orca/attachments/MediaResource;

    .line 44
    invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    iput-boolean v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->e:Z

    .line 45
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->f:Ljava/lang/String;

    .line 46
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->g:Ljava/lang/String;

    .line 47
    invoke-virtual {p1}, Landroid/os/Parcel;->readLong()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->h:J

    .line 48
    return-void

    .line 44
    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method constructor <init>(Lcom/facebook/orca/server/OutgoingMessageBuilder;)V
    .locals 2
    .parameter

    .prologue
    .line 28
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 29
    invoke-virtual {p1}, Lcom/facebook/orca/server/OutgoingMessageBuilder;->a()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->a:Ljava/lang/String;

    .line 30
    invoke-virtual {p1}, Lcom/facebook/orca/server/OutgoingMessageBuilder;->b()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/facebook/orca/common/util/StringUtil;->a(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    iput-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->b:Ljava/lang/String;

    .line 31
    invoke-virtual {p1}, Lcom/facebook/orca/server/OutgoingMessageBuilder;->c()Lcom/facebook/orca/location/Coordinates;

    move-result-object v0

    iput-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->c:Lcom/facebook/orca/location/Coordinates;

    .line 32
    invoke-virtual {p1}, Lcom/facebook/orca/server/OutgoingMessageBuilder;->d()Lcom/facebook/orca/attachments/MediaResource;

    move-result-object v0

    iput-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->d:Lcom/facebook/orca/attachments/MediaResource;

    .line 33
    invoke-virtual {p1}, Lcom/facebook/orca/server/OutgoingMessageBuilder;->e()Z

    move-result v0

    iput-boolean v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->e:Z

    .line 34
    invoke-virtual {p1}, Lcom/facebook/orca/server/OutgoingMessageBuilder;->f()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->f:Ljava/lang/String;

    .line 35
    invoke-virtual {p1}, Lcom/facebook/orca/server/OutgoingMessageBuilder;->g()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->g:Ljava/lang/String;

    .line 36
    invoke-virtual {p1}, Lcom/facebook/orca/server/OutgoingMessageBuilder;->h()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->h:J

    .line 37
    return-void

    .line 30
    :cond_0
    invoke-virtual {p1}, Lcom/facebook/orca/server/OutgoingMessageBuilder;->b()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method


# virtual methods
.method public a()Ljava/lang/String;
    .locals 1

    .prologue
    .line 51
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->a:Ljava/lang/String;

    return-object v0
.end method

.method public b()Ljava/lang/String;
    .locals 1

    .prologue
    .line 55
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->b:Ljava/lang/String;

    return-object v0
.end method

.method public c()Z
    .locals 1

    .prologue
    .line 59
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->b:Ljava/lang/String;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public d()Lcom/facebook/orca/location/Coordinates;
    .locals 1

    .prologue
    .line 63
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->c:Lcom/facebook/orca/location/Coordinates;

    return-object v0
.end method

.method public describeContents()I
    .locals 1

    .prologue
    .line 114
    const/4 v0, 0x0

    return v0
.end method

.method public e()Z
    .locals 1

    .prologue
    .line 67
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->c:Lcom/facebook/orca/location/Coordinates;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public f()Z
    .locals 1

    .prologue
    .line 71
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->d:Lcom/facebook/orca/attachments/MediaResource;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public g()Lcom/facebook/orca/attachments/MediaResource;
    .locals 1

    .prologue
    .line 75
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->d:Lcom/facebook/orca/attachments/MediaResource;

    return-object v0
.end method

.method public h()Z
    .locals 1

    .prologue
    .line 79
    iget-boolean v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->e:Z

    return v0
.end method

.method public i()Ljava/lang/String;
    .locals 1

    .prologue
    .line 83
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->f:Ljava/lang/String;

    return-object v0
.end method

.method public j()Ljava/lang/String;
    .locals 1

    .prologue
    .line 87
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->g:Ljava/lang/String;

    return-object v0
.end method

.method public k()Z
    .locals 1

    .prologue
    .line 91
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->g:Ljava/lang/String;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public l()J
    .locals 2

    .prologue
    .line 99
    iget-wide v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->h:J

    return-wide v0
.end method

.method public writeToParcel(Landroid/os/Parcel;I)V
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 119
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->a:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 120
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->b:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 121
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->c:Lcom/facebook/orca/location/Coordinates;

    invoke-virtual {p1, v0, p2}, Landroid/os/Parcel;->writeParcelable(Landroid/os/Parcelable;I)V

    .line 122
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->d:Lcom/facebook/orca/attachments/MediaResource;

    invoke-virtual {p1, v0, p2}, Landroid/os/Parcel;->writeParcelable(Landroid/os/Parcelable;I)V

    .line 123
    iget-boolean v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->e:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeInt(I)V

    .line 124
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->f:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 125
    iget-object v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->g:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 126
    iget-wide v0, p0, Lcom/facebook/orca/server/OutgoingMessage;->h:J

    invoke-virtual {p1, v0, v1}, Landroid/os/Parcel;->writeLong(J)V

    .line 127
    return-void

    .line 123
    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method
